home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 001-025 / disk_008 / src / def.eshk.h < prev    next >
C/C++ Source or Header  |  1992-05-06  |  652b  |  22 lines

  1. /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1984. */
  2.  
  3. #define   BILLSZ   200
  4. struct bill_x {
  5.    unsigned bo_id;
  6.    Bitfield(useup,1);
  7.    Bitfield(bquan,7);
  8.    unsigned price;      /* price per unit */
  9. };
  10.  
  11. struct eshk {
  12.    long int robbed;   /* amount stolen by most recent customer */
  13.    schar shoproom;      /* index in rooms; set by inshop() */
  14.    coord shk;      /* usual position shopkeeper */
  15.    coord shd;      /* position shop door */
  16.    int billct;
  17.    struct bill_x bill[BILLSZ];
  18.    int visitct;      /* nr of visits by most recent customer */
  19.    char customer[PL_NSIZ];   /* most recent customer */
  20.    char shknam[PL_NSIZ];
  21. };
  22.